package com.lianxian.xindong.login.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.hxb.library.di.component.AppComponent;

import com.lianxian.xindong.login.di.module.LoginOtherModule;
import com.lianxian.xindong.login.mvp.contract.LoginOtherContract;

import com.hxb.library.di.scope.ActivityScope;
import com.lianxian.xindong.login.mvp.ui.activity.LoginOtherActivity;


/**
 * @作者：hexingbo
 * @时间：06/30/2023
 * @描述：
 */
@ActivityScope
@Component(modules = LoginOtherModule.class, dependencies = AppComponent.class)
public interface LoginOtherComponent {
    void inject(LoginOtherActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        LoginOtherComponent.Builder view(LoginOtherContract.View view);

        LoginOtherComponent.Builder appComponent(AppComponent appComponent);

        LoginOtherComponent build();
    }
}